package com.crm.model.entity.callCenter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CallFormExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CallFormExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFormIdIsNull() {
            addCriterion("form_id is null");
            return (Criteria) this;
        }

        public Criteria andFormIdIsNotNull() {
            addCriterion("form_id is not null");
            return (Criteria) this;
        }

        public Criteria andFormIdEqualTo(String value) {
            addCriterion("form_id =", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdNotEqualTo(String value) {
            addCriterion("form_id <>", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdGreaterThan(String value) {
            addCriterion("form_id >", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdGreaterThanOrEqualTo(String value) {
            addCriterion("form_id >=", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdLessThan(String value) {
            addCriterion("form_id <", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdLessThanOrEqualTo(String value) {
            addCriterion("form_id <=", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdLike(String value) {
            addCriterion("form_id like", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdNotLike(String value) {
            addCriterion("form_id not like", value, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdIn(List<String> values) {
            addCriterion("form_id in", values, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdNotIn(List<String> values) {
            addCriterion("form_id not in", values, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdBetween(String value1, String value2) {
            addCriterion("form_id between", value1, value2, "formId");
            return (Criteria) this;
        }

        public Criteria andFormIdNotBetween(String value1, String value2) {
            addCriterion("form_id not between", value1, value2, "formId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdIsNull() {
            addCriterion("contact_person_id is null");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdIsNotNull() {
            addCriterion("contact_person_id is not null");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdEqualTo(String value) {
            addCriterion("contact_person_id =", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdNotEqualTo(String value) {
            addCriterion("contact_person_id <>", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdGreaterThan(String value) {
            addCriterion("contact_person_id >", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdGreaterThanOrEqualTo(String value) {
            addCriterion("contact_person_id >=", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdLessThan(String value) {
            addCriterion("contact_person_id <", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdLessThanOrEqualTo(String value) {
            addCriterion("contact_person_id <=", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdLike(String value) {
            addCriterion("contact_person_id like", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdNotLike(String value) {
            addCriterion("contact_person_id not like", value, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdIn(List<String> values) {
            addCriterion("contact_person_id in", values, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdNotIn(List<String> values) {
            addCriterion("contact_person_id not in", values, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdBetween(String value1, String value2) {
            addCriterion("contact_person_id between", value1, value2, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andContactPersonIdNotBetween(String value1, String value2) {
            addCriterion("contact_person_id not between", value1, value2, "contactPersonId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("customer_id like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("customer_id not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCallDurationIsNull() {
            addCriterion("call_duration is null");
            return (Criteria) this;
        }

        public Criteria andCallDurationIsNotNull() {
            addCriterion("call_duration is not null");
            return (Criteria) this;
        }

        public Criteria andCallDurationEqualTo(Integer value) {
            addCriterion("call_duration =", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationNotEqualTo(Integer value) {
            addCriterion("call_duration <>", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationGreaterThan(Integer value) {
            addCriterion("call_duration >", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_duration >=", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationLessThan(Integer value) {
            addCriterion("call_duration <", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationLessThanOrEqualTo(Integer value) {
            addCriterion("call_duration <=", value, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationIn(List<Integer> values) {
            addCriterion("call_duration in", values, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationNotIn(List<Integer> values) {
            addCriterion("call_duration not in", values, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationBetween(Integer value1, Integer value2) {
            addCriterion("call_duration between", value1, value2, "callDuration");
            return (Criteria) this;
        }

        public Criteria andCallDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("call_duration not between", value1, value2, "callDuration");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andCallResultIsNull() {
            addCriterion("call_result is null");
            return (Criteria) this;
        }

        public Criteria andCallResultIsNotNull() {
            addCriterion("call_result is not null");
            return (Criteria) this;
        }

        public Criteria andCallResultEqualTo(Byte value) {
            addCriterion("call_result =", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotEqualTo(Byte value) {
            addCriterion("call_result <>", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultGreaterThan(Byte value) {
            addCriterion("call_result >", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultGreaterThanOrEqualTo(Byte value) {
            addCriterion("call_result >=", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultLessThan(Byte value) {
            addCriterion("call_result <", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultLessThanOrEqualTo(Byte value) {
            addCriterion("call_result <=", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultIn(List<Byte> values) {
            addCriterion("call_result in", values, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotIn(List<Byte> values) {
            addCriterion("call_result not in", values, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultBetween(Byte value1, Byte value2) {
            addCriterion("call_result between", value1, value2, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotBetween(Byte value1, Byte value2) {
            addCriterion("call_result not between", value1, value2, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallRecordIsNull() {
            addCriterion("call_record is null");
            return (Criteria) this;
        }

        public Criteria andCallRecordIsNotNull() {
            addCriterion("call_record is not null");
            return (Criteria) this;
        }

        public Criteria andCallRecordEqualTo(String value) {
            addCriterion("call_record =", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordNotEqualTo(String value) {
            addCriterion("call_record <>", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordGreaterThan(String value) {
            addCriterion("call_record >", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordGreaterThanOrEqualTo(String value) {
            addCriterion("call_record >=", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordLessThan(String value) {
            addCriterion("call_record <", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordLessThanOrEqualTo(String value) {
            addCriterion("call_record <=", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordLike(String value) {
            addCriterion("call_record like", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordNotLike(String value) {
            addCriterion("call_record not like", value, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordIn(List<String> values) {
            addCriterion("call_record in", values, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordNotIn(List<String> values) {
            addCriterion("call_record not in", values, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordBetween(String value1, String value2) {
            addCriterion("call_record between", value1, value2, "callRecord");
            return (Criteria) this;
        }

        public Criteria andCallRecordNotBetween(String value1, String value2) {
            addCriterion("call_record not between", value1, value2, "callRecord");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("contact_phone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("contact_phone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("contact_phone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("contact_phone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("contact_phone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contact_phone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("contact_phone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("contact_phone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("contact_phone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("contact_phone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("contact_phone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("contact_phone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("contact_phone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("contact_phone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactSourceIsNull() {
            addCriterion("contact_source is null");
            return (Criteria) this;
        }

        public Criteria andContactSourceIsNotNull() {
            addCriterion("contact_source is not null");
            return (Criteria) this;
        }

        public Criteria andContactSourceEqualTo(Integer value) {
            addCriterion("contact_source =", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceNotEqualTo(Integer value) {
            addCriterion("contact_source <>", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceGreaterThan(Integer value) {
            addCriterion("contact_source >", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("contact_source >=", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceLessThan(Integer value) {
            addCriterion("contact_source <", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceLessThanOrEqualTo(Integer value) {
            addCriterion("contact_source <=", value, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceIn(List<Integer> values) {
            addCriterion("contact_source in", values, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceNotIn(List<Integer> values) {
            addCriterion("contact_source not in", values, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceBetween(Integer value1, Integer value2) {
            addCriterion("contact_source between", value1, value2, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("contact_source not between", value1, value2, "contactSource");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNull() {
            addCriterion("contact_name is null");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNotNull() {
            addCriterion("contact_name is not null");
            return (Criteria) this;
        }

        public Criteria andContactNameEqualTo(String value) {
            addCriterion("contact_name =", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotEqualTo(String value) {
            addCriterion("contact_name <>", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThan(String value) {
            addCriterion("contact_name >", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("contact_name >=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThan(String value) {
            addCriterion("contact_name <", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThanOrEqualTo(String value) {
            addCriterion("contact_name <=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLike(String value) {
            addCriterion("contact_name like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotLike(String value) {
            addCriterion("contact_name not like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameIn(List<String> values) {
            addCriterion("contact_name in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotIn(List<String> values) {
            addCriterion("contact_name not in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameBetween(String value1, String value2) {
            addCriterion("contact_name between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotBetween(String value1, String value2) {
            addCriterion("contact_name not between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andIsInterestedIsNull() {
            addCriterion("is_interested is null");
            return (Criteria) this;
        }

        public Criteria andIsInterestedIsNotNull() {
            addCriterion("is_interested is not null");
            return (Criteria) this;
        }

        public Criteria andIsInterestedEqualTo(Integer value) {
            addCriterion("is_interested =", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedNotEqualTo(Integer value) {
            addCriterion("is_interested <>", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedGreaterThan(Integer value) {
            addCriterion("is_interested >", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_interested >=", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedLessThan(Integer value) {
            addCriterion("is_interested <", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedLessThanOrEqualTo(Integer value) {
            addCriterion("is_interested <=", value, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedIn(List<Integer> values) {
            addCriterion("is_interested in", values, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedNotIn(List<Integer> values) {
            addCriterion("is_interested not in", values, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedBetween(Integer value1, Integer value2) {
            addCriterion("is_interested between", value1, value2, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsInterestedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_interested not between", value1, value2, "isInterested");
            return (Criteria) this;
        }

        public Criteria andIsWordArtIsNull() {
            addCriterion("is_word_art is null");
            return (Criteria) this;
        }

        public Criteria andIsWordArtIsNotNull() {
            addCriterion("is_word_art is not null");
            return (Criteria) this;
        }

        public Criteria andIsWordArtEqualTo(Integer value) {
            addCriterion("is_word_art =", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtNotEqualTo(Integer value) {
            addCriterion("is_word_art <>", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtGreaterThan(Integer value) {
            addCriterion("is_word_art >", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_word_art >=", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtLessThan(Integer value) {
            addCriterion("is_word_art <", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtLessThanOrEqualTo(Integer value) {
            addCriterion("is_word_art <=", value, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtIn(List<Integer> values) {
            addCriterion("is_word_art in", values, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtNotIn(List<Integer> values) {
            addCriterion("is_word_art not in", values, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtBetween(Integer value1, Integer value2) {
            addCriterion("is_word_art between", value1, value2, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsWordArtNotBetween(Integer value1, Integer value2) {
            addCriterion("is_word_art not between", value1, value2, "isWordArt");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallIsNull() {
            addCriterion("is_spite_call is null");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallIsNotNull() {
            addCriterion("is_spite_call is not null");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallEqualTo(Integer value) {
            addCriterion("is_spite_call =", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallNotEqualTo(Integer value) {
            addCriterion("is_spite_call <>", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallGreaterThan(Integer value) {
            addCriterion("is_spite_call >", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_spite_call >=", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallLessThan(Integer value) {
            addCriterion("is_spite_call <", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallLessThanOrEqualTo(Integer value) {
            addCriterion("is_spite_call <=", value, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallIn(List<Integer> values) {
            addCriterion("is_spite_call in", values, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallNotIn(List<Integer> values) {
            addCriterion("is_spite_call not in", values, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallBetween(Integer value1, Integer value2) {
            addCriterion("is_spite_call between", value1, value2, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsSpiteCallNotBetween(Integer value1, Integer value2) {
            addCriterion("is_spite_call not between", value1, value2, "isSpiteCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallIsNull() {
            addCriterion("is_complaints_call is null");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallIsNotNull() {
            addCriterion("is_complaints_call is not null");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallEqualTo(Integer value) {
            addCriterion("is_complaints_call =", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallNotEqualTo(Integer value) {
            addCriterion("is_complaints_call <>", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallGreaterThan(Integer value) {
            addCriterion("is_complaints_call >", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_complaints_call >=", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallLessThan(Integer value) {
            addCriterion("is_complaints_call <", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallLessThanOrEqualTo(Integer value) {
            addCriterion("is_complaints_call <=", value, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallIn(List<Integer> values) {
            addCriterion("is_complaints_call in", values, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallNotIn(List<Integer> values) {
            addCriterion("is_complaints_call not in", values, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallBetween(Integer value1, Integer value2) {
            addCriterion("is_complaints_call between", value1, value2, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsComplaintsCallNotBetween(Integer value1, Integer value2) {
            addCriterion("is_complaints_call not between", value1, value2, "isComplaintsCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallIsNull() {
            addCriterion("is_good_call is null");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallIsNotNull() {
            addCriterion("is_good_call is not null");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallEqualTo(Integer value) {
            addCriterion("is_good_call =", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallNotEqualTo(Integer value) {
            addCriterion("is_good_call <>", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallGreaterThan(Integer value) {
            addCriterion("is_good_call >", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_good_call >=", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallLessThan(Integer value) {
            addCriterion("is_good_call <", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallLessThanOrEqualTo(Integer value) {
            addCriterion("is_good_call <=", value, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallIn(List<Integer> values) {
            addCriterion("is_good_call in", values, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallNotIn(List<Integer> values) {
            addCriterion("is_good_call not in", values, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallBetween(Integer value1, Integer value2) {
            addCriterion("is_good_call between", value1, value2, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsGoodCallNotBetween(Integer value1, Integer value2) {
            addCriterion("is_good_call not between", value1, value2, "isGoodCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallIsNull() {
            addCriterion("is_warn_call is null");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallIsNotNull() {
            addCriterion("is_warn_call is not null");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallEqualTo(Integer value) {
            addCriterion("is_warn_call =", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallNotEqualTo(Integer value) {
            addCriterion("is_warn_call <>", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallGreaterThan(Integer value) {
            addCriterion("is_warn_call >", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_warn_call >=", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallLessThan(Integer value) {
            addCriterion("is_warn_call <", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallLessThanOrEqualTo(Integer value) {
            addCriterion("is_warn_call <=", value, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallIn(List<Integer> values) {
            addCriterion("is_warn_call in", values, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallNotIn(List<Integer> values) {
            addCriterion("is_warn_call not in", values, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallBetween(Integer value1, Integer value2) {
            addCriterion("is_warn_call between", value1, value2, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andIsWarnCallNotBetween(Integer value1, Integer value2) {
            addCriterion("is_warn_call not between", value1, value2, "isWarnCall");
            return (Criteria) this;
        }

        public Criteria andLabelIsNull() {
            addCriterion("label is null");
            return (Criteria) this;
        }

        public Criteria andLabelIsNotNull() {
            addCriterion("label is not null");
            return (Criteria) this;
        }

        public Criteria andLabelEqualTo(Integer value) {
            addCriterion("label =", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualTo(Integer value) {
            addCriterion("label <>", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThan(Integer value) {
            addCriterion("label >", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualTo(Integer value) {
            addCriterion("label >=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThan(Integer value) {
            addCriterion("label <", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualTo(Integer value) {
            addCriterion("label <=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelIn(List<Integer> values) {
            addCriterion("label in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotIn(List<Integer> values) {
            addCriterion("label not in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelBetween(Integer value1, Integer value2) {
            addCriterion("label between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotBetween(Integer value1, Integer value2) {
            addCriterion("label not between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andFollowIdIsNull() {
            addCriterion("follow_id is null");
            return (Criteria) this;
        }

        public Criteria andFollowIdIsNotNull() {
            addCriterion("follow_id is not null");
            return (Criteria) this;
        }

        public Criteria andFollowIdEqualTo(String value) {
            addCriterion("follow_id =", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdNotEqualTo(String value) {
            addCriterion("follow_id <>", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdGreaterThan(String value) {
            addCriterion("follow_id >", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdGreaterThanOrEqualTo(String value) {
            addCriterion("follow_id >=", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdLessThan(String value) {
            addCriterion("follow_id <", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdLessThanOrEqualTo(String value) {
            addCriterion("follow_id <=", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdLike(String value) {
            addCriterion("follow_id like", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdNotLike(String value) {
            addCriterion("follow_id not like", value, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdIn(List<String> values) {
            addCriterion("follow_id in", values, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdNotIn(List<String> values) {
            addCriterion("follow_id not in", values, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdBetween(String value1, String value2) {
            addCriterion("follow_id between", value1, value2, "followId");
            return (Criteria) this;
        }

        public Criteria andFollowIdNotBetween(String value1, String value2) {
            addCriterion("follow_id not between", value1, value2, "followId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}